#define  _CRT_SECURE_NO_WARNINGS
#include "practice.h"
int main()
{
	int n = 0;
	scanf("%d",&n);
	int ret = strlen(n);
	printf("%d",ret);

	return 0;
}